# -*- coding: utf-8 -*-

# Created: Sun Jul 18 11:47:55 2021
#      by: pyside-uic 0.2.15 running on PySide 1.2.4
#
# WARNING! All changes made in this file will be lost!

from qtpy import QtCore, QtWidgets, QtGui
import sys
import smart_icons
class Ui_window_title_widget(object):
    def setupUi(self, window_title_widget):
        window_title_widget.setObjectName("window_title_widget")
        window_title_widget.resize(456, 32)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(window_title_widget)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.frame = QtWidgets.QFrame(window_title_widget)
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.icon_btn = QtWidgets.QToolButton(self.frame)
        self.icon_btn.setMinimumSize(QtCore.QSize(30, 30))
        self.icon_btn.setMaximumSize(QtCore.QSize(30, 30))
        self.icon_btn.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/smart/smart_logo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.icon_btn.setIcon(icon)
        self.icon_btn.setIconSize(QtCore.QSize(20, 20))
        self.icon_btn.setAutoRaise(True)
        self.icon_btn.setObjectName("icon_btn")
        self.horizontalLayout.addWidget(self.icon_btn)
        self.logo = QtWidgets.QLabel(self.frame)
        self.logo.setMinimumSize(QtCore.QSize(56, 20))
        self.logo.setMaximumSize(QtCore.QSize(16777215, 20))
        self.logo.setText("")
        self.logo.setScaledContents(True)
        self.logo.setObjectName("logo")
        self.horizontalLayout.addWidget(self.logo)
        spacerItem = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.info_label = QtWidgets.QLabel(self.frame)
        self.info_label.setText("")
        self.info_label.setObjectName("info_label")
        self.horizontalLayout.addWidget(self.info_label)
        spacerItem1 = QtWidgets.QSpacerItem(150, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.extend_layout = QtWidgets.QHBoxLayout()
        self.extend_layout.setSpacing(2)
        self.extend_layout.setObjectName("extend_layout")
        self.horizontalLayout.addLayout(self.extend_layout)
        self.theme_btn = QtWidgets.QToolButton(self.frame)
        self.theme_btn.setMinimumSize(QtCore.QSize(30, 30))
        self.theme_btn.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/smart/style_moon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon1.addPixmap(QtGui.QPixmap(":/smart/style_sun.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.theme_btn.setIcon(icon1)
        self.theme_btn.setCheckable(True)
        self.theme_btn.setAutoRaise(True)
        self.theme_btn.setObjectName("theme_btn")
        self.horizontalLayout.addWidget(self.theme_btn)
        self.min_btn = QtWidgets.QToolButton(self.frame)
        self.min_btn.setMinimumSize(QtCore.QSize(30, 30))
        self.min_btn.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/smart/title_min.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.min_btn.setIcon(icon2)
        self.min_btn.setIconSize(QtCore.QSize(16, 16))
        self.min_btn.setAutoRaise(True)
        self.min_btn.setObjectName("min_btn")
        self.horizontalLayout.addWidget(self.min_btn)
        self.close_btn = QtWidgets.QToolButton(self.frame)
        self.close_btn.setMinimumSize(QtCore.QSize(30, 30))
        self.close_btn.setText("")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/smart/title_close.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.close_btn.setIcon(icon3)
        self.close_btn.setIconSize(QtCore.QSize(16, 16))
        self.close_btn.setAutoRaise(True)
        self.close_btn.setObjectName("close_btn")
        self.horizontalLayout.addWidget(self.close_btn)
        self.horizontalLayout_2.addWidget(self.frame)

        self.retranslateUi(window_title_widget)
        QtCore.QMetaObject.connectSlotsByName(window_title_widget)

    def retranslateUi(self, window_title_widget):
        window_title_widget.setWindowTitle("Form")

